package www.openteam.com.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;


public class RealTimeFragment extends Fragment {

    private String text;
    @Override
    public void onCreate( Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Bundle arguments = getArguments();
        text = arguments.getString("text");
    }
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater,   ViewGroup container,  Bundle savedInstanceState) {
        TextView textView =new TextView(getActivity());
        textView.setTextSize(40);
        textView.setText(text);
        return textView;


    }
}
